public class FixPriceTaxiCharge implements TaxiCharge{
    private int basePrice;

    public FixPriceTaxiCharge(int basePrice) {
        this.basePrice = basePrice;
    }

    @Override
    public double chargeFor(int distance) {
        return basePrice;
    }
}
